package com.yc.testPro;

import java.io.IOError;
import java.io.IOException;

public class App2 {

	public void testA() throws Error {
		App ap = new App(99);
    	TestEntity te = new TestEntity();
    	
    	TestEntity2 te2 = new TestEntity2();
    	
    	TestEntity3 te3 = new TestEntity3();
    	
	}
	
	class TestEntity3 {
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public Integer getAge() {
			return age;
		}
		public void setAge(Integer age) {
			this.age = age;
		}
		private String name;
		private Integer age;
		public TestEntity3() {
			super();
			// TODO Auto-generated constructor stub
		}
		public TestEntity3(String name, Integer age) {
			super();
			this.name = name;
			this.age = age;
		}
		
	}
	
	
}

class TestEntity2 {
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	private String name;
	private Integer age;
	public TestEntity2() {
		super();
		// TODO Auto-generated constructor stub
	}
	public TestEntity2(String name, Integer age) {
		super();
		this.name = name;
		this.age = age;
	}
	
	
}